package com.ice.loan.server;

import com.ice.loan.service.TestLoanService;
import com.loan.service.LoanIce.LoanIceServer;
import com.zeroc.Ice.Current;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2017/11/30.
 */
@Service("loanIceServer")
public class LoanIceServerImpl implements LoanIceServer{

    @Autowired
    private TestLoanService testLoanService;
    @Override
    public String loan(String jsonStr, Current current) {
        return testLoanService.loan(jsonStr);
    }

    @Override
    public String queryLoanRecord(String jsonStr, Current current) {
        return testLoanService.queryLoanRecord(jsonStr);
    }
}
